@ 	if (totalPage <= 0 || currentPage > totalPage) return;
@ 	var startPage = currentPage - 4;
@ 	if(startPage < 1){
@ 		startPage = 1;
@ 	}
@ 	var endPage = currentPage + 4;
@ 	if(endPage > totalPage){
@ 		endPage = totalPage;
@ 	}

<!-- 
    <div style="text-align: center">
        <div class="laypage-main">
          <a href="jie/index.html" class="laypage-next">更多求解</a>
        </div>
      </div>
 -->
    <div style="text-align: center">
        <div class="laypage-main">
        	@ 	if(currentPage <= 8){
	        @ 	    startPage = 1;
	        @ 	}
	        @ 	if(totalPage - currentPage<8){
	        @ 		endPage = totalPage;
	        @ 	}
	        @ 	if(currentPage == 1){
	        	    <span>上页</span>
	        @ 	}else{
				    <a href="${ctxPath}${actionUrl}${currentPage - 1}${urlParas!}" >上页</a>
			@	}

	        @	if(currentPage > 8){
	                <a href="${ctxPath}${actionUrl}1${urlParas!}">1</a>
	                <a href="${ctxPath}${actionUrl}2${urlParas!}">2</a>
					<span>...</span>
	        @	}
	
	        @ 	var index = startPage;
	        @ 	while(index <= endPage){
	            @ 	if(currentPage == index){
	                <span class="laypage-curr">${index}</span>
	            @ 	}else{
	                <a href="${ctxPath}${actionUrl+index}${urlParas!}">${index}</a>
	            @ 	}
	        @ 	index= index+1;
	        @ 	}
	
	        @	if((totalPage - currentPage) >= 8){
					<span>…</span>
					<a href="${ctxPath}${actionUrl}${totalPage - 1}${urlParas!}">${totalPage - 1}</a>
					<a href="${ctxPath}${actionUrl}${totalPage}${urlParas!}">${totalPage}</a>
	        @	}
	
	        @	if(currentPage == totalPage){
					<span>下页</span>
	        @	}else{
					<a href="${ctxPath}${actionUrl}${currentPage + 1}${urlParas!}" rel="next">下页</a>
	        @	}
        </div>
      </div>  
